//
// Created by 51165 on 2025/10/23.
//
#include <stdio.h>
void init(int arr[10]) {
    for (int i = 0; i < 10; i++) {
        arr[i] = 0;
    }
}

void print(int arr[10]) {
    for (int i = 0; i < 10; i++) {
        printf("%d ",arr[i]);
    }
    printf("\n");
}

void reverse(int arr[10]) {
    for (int i = 9; i >= 0; i--) {
        printf("%d ",arr[i]);
    }
    printf("\n");
}

int main() {
    int arr[10] = {1,2,3,4,5,6,7,8,9,10};
    //init(arr);
    print(arr);
    reverse(arr);
    return 0;
}